package com.czr.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.czr.dao.entity.CzrAnswers;
import com.czr.dao.entity.CzrQuestions;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "提交问卷")
public class HuidaParam {

    @ApiModelProperty(value = "问卷Id")
    @TableField("surveys_id")
    private Long surveysId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "手机号码")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "微信号")
    @TableField("wx")
    private String wx;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "问卷答案")
    private List<CzrAnswers> czrAnswersList;

}
